package com.quwan.manager.controller.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.quwan.constans.AppConst;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @author quan
 * @date 2021-11-27 1:21
 */

@Data
@Accessors(chain = true)
public class PublishOrderListDTO {
    @ApiModelProperty("订单id")
    private  String orderId;
    @ApiModelProperty("发单人")
    private String nickName;
    @ApiModelProperty("发单人Id")
    private String mId;
    @ApiModelProperty("价格")
    private String price;
    @ApiModelProperty("分类")
    private String category;
    @ApiModelProperty("内容")
    private String otherDesc;
    @ApiModelProperty("图片")
    private List<String> imgs;
    @ApiModelProperty("日期")
    @JsonFormat(pattern = AppConst.DATE_SHOW_FORMAT)
    private String date;
    @ApiModelProperty("状态 0关闭  1正常 2交易完成")
    private Integer status;
    @ApiModelProperty("排序 倒叙")
    private Integer orderNum;

    @ApiModelProperty("0未审核 1已审核")
    private String audit;

    @ApiModelProperty("用户自增id")
    private String pid;

}
